<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="../js/vue.js"></script>
    <script type="text/javascript" src="../js/vue-router.js"></script>
    <title>是</title>
</head>
<body>
<div id="app">

    <div @click="colors">
        hello
    </div>
</div>
<script type="text/javascript">
    let vm = new Vue({
        el:"#app",
        data:{
            raw:'<h1>222222222222222</h1>',
        },
        methods:{
            colors:function () {
                alert("点击了")
            }
        }
    })
</script>
<a href="/loginAction">打开后端</a>

</body>
</html>